Ngnix 80 跳转443
server {
charset utf-8;
client_max_body_size 200M;
listen 80; ## listen for ipv4; this line is default and implied
#listen [::]:80 default ipv6only=on; ## listen for ipv6
# 把xxx替换成你的域名
# Make site accessible from server\_name
server\_name kuwaedu.com www.kuwaedu.com;
return 301 https://$server_name$request_uri; #redirect http to https
}